package com.yykj.user.center.server.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 医生 Created by chendg on 2021/9/7 0007.
 */
@Data
@Entity
public class Doctor {

	@Id
	@Column(length = 50)
	private String id;

	@ApiModelProperty("微信openId")
	@Column(length = 50)
	private String openid;

	@ApiModelProperty("医院ID")
	private Integer hospitalId;

	@ApiModelProperty("工号")
	private String jobNum;

	@ApiModelProperty("医生姓名")
	@Column(length = 50)
	private String nickname;

	@ApiModelProperty("医生性别")
	@Column(length = 10)
	private String gender;

	@ApiModelProperty("五笔简码")
	private String wb;

	@ApiModelProperty("拼音简码")
	private String py;

	@Column(length = 20)
	@ApiModelProperty("联系电话")
	private String mobile;

	@ApiModelProperty("职称")
	private String officer;

	@ApiModelProperty("科室ID")
	private Integer depId;

	@ApiModelProperty("科室名称")
	private String depName;

	@ApiModelProperty("头像")
	private String headImg = "";

	@ApiModelProperty("身份证号码")
	private String idCardNo = "";

	@ApiModelProperty("身份证前照")
	private String idCardFront = "";

	@ApiModelProperty("身份证后照")
	private String idCardBack = "";

	@ApiModelProperty("证书")
	private String certificate = "";

	@Column(length = 2000)
	@ApiModelProperty("介绍")
	private String info = "";

	@Column(length = 2000)
	@ApiModelProperty("擅长技能")
	private String skill = "";

	@ApiModelProperty("排序")
	private Integer sorting = 100;

	@ApiModelProperty("启用状态")
	private Integer enableStatus = 0;

	@ApiModelProperty("审核状态")
	private Integer checkStatus = 0;


	@Column(length = 50)
	private String password;

}
